<template>
  <div @click="handleClick">
    {{ message }}
    <!-- Your Vue 3 component template goes here -->
  </div>
</template>
<script lang="ts" setup>
defineOptions({
  name: "List"
});
import { ref } from "vue";
import { useRouter } from "vue-router";
const message = ref("Hello Vue 3!");
const router = useRouter();
const handleClick = () => {
  console.log("You clicked me!");
  router.push({ path: "/crud/detail" });
};
</script>
<style scoped lang="scss">
/* Your styles go here */
</style>
